package com.white.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 评论id、用户id、作者id、文章id、用户头像、用户名字、文章标题、评论内容、时间
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentView {
    @TableId("commentId")
    private Long commentId;
    private Long userId, authorId, articleId;
    private String headImage, name, title, content, createTime;

}
